/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package network;

import java.util.Collection;
import schedulingScheme.SensorNode;

/**
 *
 * @author Andrzej
 */
public interface NetworkInfo {

    /* ewentualnie wydzielić interfejs NetworkInfo */
    int getSensorRole(SensorNode s);

    Collection<SensorNode> getSensorsInCluster(SensorNode clusterHead);
    int CLUSTER_HEAD = 1;
    int REGULAR_NODE = 2;
    int NOT_IN_NETWORK = 3;

    /**
     *
     * @return list of sensors that are on and are reporting events to sink
     */
    Collection<SensorNode> activeSensors();
}
